'use strict';
const db = uniCloud.database()
const goodsCollection = db.collection('order')
exports.main = async (event, context) => {
	let{title,image,price,num,status,date}= event
	let res = await goodsCollection.add({
		title,image,price,num,status,date
		
	})
	return res
};